<?php
if(strstr($_SERVER['PHP_SELF']."","html/module") && !@$in){
$class=array("","","","all");
$in=false;
include('../../module/php/m_meta.php')
?>
<link  href="../../../css/pages/public/base.css" rel="stylesheet" type="text/css">
<link  href="../../../css/module/share/video_head.css" rel="stylesheet" type="text/css">
<script src="../../../js/utils/libs/iscroll5.js"></script>
<script type="text/javascript">
var myScroll;
function loaded() {
	myScroll = new IScroll('#menu_con', {eventPassthrough: true, scrollX: true, scrollY: false, preventDefault: false });
}
$(".menu_con em").each(function(index, element) {
	 var T=$(this);
	 T.click(function(){
		 console.log(-$(this).position().left-$(".menu_con em.cur").position().left)
		myScroll.scrollToElement(document.querySelector('#menu_con em:nth-child('+$(".menu_con em").index(this)+')'), 1000, -$(this).position().left-$(".menu_con em.cur").position().left, true)
	 })
        
});
</script>
</head>
<body onload="loaded()">
<?php }?>
<?php if($class[3]=="all" || $class[2]==1){?>
<div class="video_head  <?php echo $class[0]; ?>" <?php echo $class[1];?> >
  <div class="menu" id="menu_con" data-url="../../../data_temp/share/video_list.php">
		<div class="menu_con"> 
		<em  class="cur" data-page="1" type=1><a href="javascript:;">女性时尚</a></em> 
		<em  data-page="1" type=2><a href="javascript:;">家庭录像</a></em> 
		<em data-page="1" type=3><a href="javascript:;">辣妈学院</a></em> 
		<em data-page="1" type=4><a href="javascript:;">瘦身美妆美妆美妆</a></em> 
		<em data-page="1" type=5><a href="javascript:;">瘦身美妆美妆美妆</a></em> 
	</div>
  </div>
</div>

<?php $class=array("","","",strstr($_SERVER['PHP_SELF']."","html/module") && !@$in?"all":"");}?>
